﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Networking
{

    /// <summary>
    /// Risen when the packet type is wrong
    /// </summary>
    public class PacketTypeMismatchException : Exception
    {
        public PacketTypeMismatchException(PacketType ExpectedType, PacketType Type)
            : base("The expected packet type was " + ExpectedType + ", but got " + Type)
        {
            //
        }

    }
}
